package com.zhiche.lisa.lspm.dao.model.lsp;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 认证承运商
 * </p>
 *
 * @author qichao
 * @since 2018-05-23
 */
@TableName("lisa_lsp_formal")
public class LspFormal extends Model<LspFormal> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 承运商ID
     */
	@TableField("lsp_id")
	private Integer lspId;
	private Integer auditor;
    /**
     * 审核日期
     */
	@TableField("gmt_audit")
	private Date gmtAudit;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getLspId() {
		return lspId;
	}

	public void setLspId(Integer lspId) {
		this.lspId = lspId;
	}

	public Integer getAuditor() {
		return auditor;
	}

	public void setAuditor(Integer auditor) {
		this.auditor = auditor;
	}

	public Date getGmtAudit() {
		return gmtAudit;
	}

	public void setGmtAudit(Date gmtAudit) {
		this.gmtAudit = gmtAudit;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "LspFormal{" +
			", id=" + id +
			", lspId=" + lspId +
			", auditor=" + auditor +
			", gmtAudit=" + gmtAudit +
			"}";
	}
}
